package com.tanhua.server.controller;

import com.tanhua.server.service.HuanXinService;
import com.tanhua.server.vo.HuanXinUserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * * @title: HuanXinController
 *
 * @Author Philcan
 * @Date: 2021/8/15 19:39
 * @Version 1.0
 */
@RestController
@RequestMapping("/huanxin")
public class HuanXinController {
    @Autowired
    private HuanXinService huanXinService;

    @GetMapping("/user")
    public HuanXinUserVo queryHuanXinUser() {
        return this.huanXinService.queryHuanXinUser();
    }
}
